package com.ruoyi.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.utils.PageUtils;
import com.ruoyi.entity.Gps;
import com.ruoyi.mapper.GpsMapper;
import com.ruoyi.service.IGpsService;
import com.ruoyi.vo.GpsVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】Service业务层处理
 *
 * @author Tellsea
 * @date 2023-01-11
 */
@Service
public class GpsServiceImpl extends ServiceImpl<GpsMapper, Gps> implements IGpsService {

    @Override
    public TableDataInfo<GpsVo> queryList(GpsVo entity) {
        return PageUtils.buildDataInfo(this.baseMapper.queryList(PageUtils.buildPage(), entity));
    }

    @Override
    public List<GpsVo> queryAll(GpsVo entity) {
        return this.baseMapper.queryList(entity);
    }

    @Override
    public GpsVo queryById(Long id) {
        return null;
    }


}
